SERV DDP DRSS EAPI
cvp-r9u/Authentication
Every API Request to the Digital Distribution Platform APIs will require OAuth Authentication.
Authentication is granted by an Authentication End Point which will return a bearer token to be used in subsequent API requests. Bearer Tokens will have an expiry time.
Request
Message Body
Key | Value |
---|---|
client_id | (will be provided to you) |
client_secret | (will be provided to you) |
grant_type | client_credentials |
scope | (will be provided to you) |
Sample Request
curl --location '<URL to be Provided>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=<replace with client ID>' \
--data-urlencode 'client_secret=<replace with client secret>' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope==<replace with scope>
Response
Key | Value |
---|---|
token_type | โBearerโ |
expires_in | Expiry time in seconds |
ext_expires_in | Expiry time of extension in seconds |
access_token | Access token to be used in subsequent requests. |